extern "C"{
#include "lua.h"
#include "lauxlib.h"
}
#include <stdio.h>
#include "interface.h"


int printHi()
{
    printf("Hi~\n");
    return 0;
}



extern int luaopen_mytolua (lua_State* tolua_S) ;

extern "C" int luaopen_linkermod (lua_State* tolua_S)
{
    int ret=0;
    ret=luaopen_mytolua(tolua_S);
    printf("\nlinkermod loaded.version 0.1.ret=%d\n",ret);

    return ret;
}
extern "C" int luaopen_liblinkermod (lua_State* tolua_S)
{
    return luaopen_linkermod(tolua_S);

}
